
using System;

namespace Gamadus.Engine
{
public static partial class GML
{
	public static class Builtin
	{
		public static real fps
		{
			get
			{
				return WindowMgr.Instance.Fps;
			}
		}
		public static Room room
		{
			get
			{
				return RoomMgr.Instance.CurrentRoom;
			}
		}
		public static string room_caption
		{
			get
			{
				return RoomMgr.Instance.CurrentRoom.caption;
			}
			set
			{
				RoomMgr.Instance.CurrentRoom.caption = value;
			}
		}
		public static real room_speed
		{
			get
			{
				return RoomMgr.Instance.CurrentRoom.room_speed;
			}
			set
			{
				RoomMgr.Instance.CurrentRoom.room_speed = (int)value;
			}
		}
		public static real pi
		{
			get
			{
				return System.Math.PI;
			}
		}
		public static real mouse_x
		{
			get
			{
				return WindowMgr.Instance.MousePosition.X;
			}
		}
		public static real mouse_y
		{
			get
			{
				return WindowMgr.Instance.MousePosition.Y;
			}
		}
		public static System.Drawing.Color c_black =  System.Drawing.Color.Black;
		public static System.Drawing.Color c_white =  System.Drawing.Color.White;
		public static System.Drawing.Color c_red =  System.Drawing.Color.Red;
		public static System.Drawing.Color c_blue =  System.Drawing.Color.Blue;
		public static System.Drawing.Color c_yellow =  System.Drawing.Color.Yellow;
		public static System.Drawing.Color c_green =  System.Drawing.Color.Green;
		public static real vk_nokey = 0;
		public static real vk_anykey = 1;
		public static real vk_left = 37;
		public static real vk_right = 39;
		public static real vk_up = 38;
		public static real vk_down = 40;
		public static real vk_enter = 13;
		public static real vk_escape = 27;
		public static real vk_space = 32;
		public static real vk_shift = 16;
		public static real vk_control = 17;
		public static real vk_alt = 18;
		public static real vk_backspace = 8;
		public static real vk_tab = 9;
		public static real vk_home = 36;
		public static real vk_end = 35;
		public static real vk_delete = 46;
		public static real vk_insert = 45;
		public static real vk_pageup = 33;
		public static real vk_pagedown = 34;
		public static real vk_pause = 19;
		public static real vk_printscreen = 44;
		public static real vk_f1 = 112;
		public static real vk_f2 = 113;
		public static real vk_f3 = 114;
		public static real vk_f4 = 115;
		public static real vk_f5 = 116;
		public static real vk_f6 = 117;
		public static real vk_f7 = 118;
		public static real vk_f8 = 119;
		public static real vk_f9 = 120;
		public static real vk_f10 = 121;
		public static real vk_f11 = 122;
		public static real vk_f12 = 123;
		public static real vk_numpad0 = 96;
		public static real vk_numpad1 = 97;
		public static real vk_numpad2 = 98;
		public static real vk_numpad3 = 99;
		public static real vk_numpad4 = 100;
		public static real vk_numpad5 = 101;
		public static real vk_numpad6 = 102;
		public static real vk_numpad7 = 103;
		public static real vk_numpad8 = 104;
		public static real vk_numpad9 = 105;
		public static real vk_multiply = 106;
		public static real vk_divide = 111;
		public static real vk_add = 107;
		public static real vk_subtract = 109;
		public static real vk_decimal = 110;
		public static real vk_lshift = 160;
		public static real vk_lcontrol = 162;
		public static real vk_lalt = 164;
		public static real vk_rshift = 161;
		public static real vk_ralt = 165;
		public static real vk_rcontrol = 163;
	}
}
}
